<%@ page language="Java" import="java.util.*,descriptor.*,cv.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%
	String diary = (String)request.getAttribute("diary");
%>

<html>
	<jsp:include page="StudentHeader.jsp" >
		<jsp:param name="pageTitle" value="Work Placement Management System - Student" />
	</jsp:include>
	<body OnLoad="showmenu(document.getElementById('smenu7'));">
		<jsp:include page="StudentPageHeader.jsp"></jsp:include>
		<div id="container">
			<jsp:include page="StudentMenu.jsp" ></jsp:include>
			<div id="content">
				<h3 class="posttitle">Student - Edit Placement Diary</h3>
				<div class="entry">
					<form name="form1" method="post">
						<fieldset>
							<input type="hidden" name="action" value="editedDiary">  
							<legend>Add to Diary</legend>
							<p><textarea name="txtDiary" rows="10" cols="60"><%= diary %></textarea></p>
						</fieldset>
						<fieldset>
							<p><button type="submit">Save changes</button> <button type="reset">Clear</button><p>
						</fieldset>
					</form>
				</div>
	    	</div>
			<jsp:include page="StudentPageFooter.jsp"></jsp:include>
		</div>
	</body>
</html>